package com.atzzy.ysmall.ysmall_allService.ProductService;

import com.atzzy.ysmall.ysmall_beans.ShoppingCart;
import com.atzzy.ysmall.ysmall_common.vo.R;

import java.util.List;

/**
 * @Author JAVAZeng
 * @Date 2022/3/8 14:24
 * @Version 1.0
 */
public interface ShoppingCartServices {
    public R addShoppingCart(ShoppingCart shoppingCart);
    public R selectShoppingCart(Integer userId);
    public R updateCartNum(Integer cartId,Integer cartNum);
    public R deleteCart(Integer carId);
    public R listShoppingCartsByCids(String cids);
}
